-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix httplib #3820
Fix httplib #3820
Conversation
) | ||
description = f"{http_method} {url}" | ||
# TODO-neel-potel remove description completely | ||
description = span_attributes.get( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this logic is a mess, I will remove description completely later.
Also this function messes up order of precedence of op and name/desc if explicitly set.
# HTTPSConnection.send is passed a string containing (among other things) | ||
# the headers on the request. Mock it so we can check the headers, and also | ||
# so it doesn't try to actually talk to the internet. | ||
mock_send = mock.Mock() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed the mock in favor of the fixture above
sentry_init( | ||
trace_propagation_targets=trace_propagation_targets, | ||
traces_sample_rate=1.0, | ||
) | ||
|
||
headers = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was not necessary for this test at all
❌ 1003 Tests Failed:
View the top 2 failed tests by shortest run time
View the full list of 1 ❄️ flaky tests
To view more test analytics, go to the Test Analytics Dashboard |
No description provided.